import Vue from 'vue'
import Router from 'vue-router'
import index from '@/page/index'
import ask from '@/page/ask'
import swiper from '@/components/swiper'
import report from '@/page/report'
import reportdetail from '@/page/reportdetail'
import result from '@/page/result'
import asklist from '@/page/askList'
import userdati from '@/components/com_swiper'
import testxx from '@/page/testxx'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/testxx',
      name: 'testxx',
      component: testxx
    },
    {
      path: '/asklist',
      name: 'asklist',
      component: asklist
    },
    {
      path: '/userdati',
      name: 'userdati',
      component: userdati
    },
    {
      path: '/result',
      name: 'result',
      component: result
    },
    {
      path: '/reportdetail',
      name: 'reportdetail',
      component: reportdetail
    },
    {
      path: '/report',
      name: 'report',
      component: report
    },
    {
      path: '/swiper',
      name: 'ask',
      component: swiper
    },
    {
      path: '/ask',
      name: 'ask',
      component: ask
    },
    {
      path: '/',
      name: 'index',
      component: index
    }
  ]
})
